# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        博智科技  
# Name:         demo801
# Description:
# Author:       yzl
# Date:         2019-02-07
#-------------------------------------------------------------------------------

class Myfirst:
    def setName(self,name):
        self.name = name
        print(name)

mf1 = Myfirst()
mf1.setName('zhangsan')
# print(mf1.name)

mf2 = Myfirst()

Myfirst.setName(mf2,'lisi')
